local
integer
local
local
integer
IsUnitType
GetUnitLoc
GetUnitTypeId
CreateUnitAtLoc
SetUnitUserData
GetPlayerId
then
SetUnitUseFood
endif
GetHeroLevel
false
false
false
loop
exitwhen
UnitItemInSlot
UnitAddItemById
set
endloop
endif
RemoveLocation
null
null
null
